<style type="text/css">
    .bjui-pageHeader{
        font-size: 18px;
        font-weight: bold;
    }
    .form{
        padding: 15px;
    }
    .form dl {
        overflow: hidden;
        padding-top: 15px;
    }

    .form dt {
        color: #666;
        float: left;
        font-size: 14px;
        padding: 3px 0 0;
        width: 11%;
    }
    .form dd {
        float: left;
        line-height: 22px;
    }
    dd.desc {
        height: 30px;
        padding: 0 10px;
        width: 150px;
    }
</style>
<div class="bjui-pageHeader">
    <div class="glyphicon glyphicon-th-large">添加会员</div>
</div>
<div class="bjui-pageContent">
    <form action="{:U('Member/addHandle')}" method="post"  data-toggle="validate">
        <table class="table table-bordered table-hover table-striped table-top">
            <tr>
                <td class="title">登录mail：</td>
                <td>
                    <input type="text" name="email" id="email" data-rule="required;email;length[4~];remote[{:U('Member/checkUserEmail')}]" data-tip="请填写登录mail" data-ok="OK" placeholder="登录mail" class="input-nm"> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="title">所属分组：</td>
                <td>
                    <select name="membergroup" id="membergroup" data-toggle="selectpicker" data-width="200">
                        <foreach name="membergroup" item="g">
                            <option value="{$g.id}">{$g.name}</option>
                        </foreach>
                    </select> <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="title">登录密码：</td>
                <td>
                    <input type="password" name="pwd" id="pwd" class="input-nm" data-rule="密码:required;length[6~]" data-tip="请填写登录密码" data-ok="OK">
                    <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="title">确认密码：</td>
                <td>
                    <input type="password" name="rpwd" id="rpwd" class="input-nm" data-rule="确认密码:required;match(pwd)" data-tip="请填写登录密码" data-ok="OK">
                    <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="title">昵  称：</td>
                <td>
                    <input type="text" name="nickname" id="nickname" class="input-nm" data-rule="昵称:required;length[4~]" data-ok="OK">
                    <font color="red">*</font>
                </td>
            </tr>
            <tr>
                <td class="title">性  别：</td>
                <td>
                    <input type="radio" name="sex" value="0" id="sex" checked="checked">
                    男士
                    <input type="radio" name="sex" value="1" id="sex">女士</td>
            </tr>
            <tr>
                <td class="title">真实姓名：</td>
                <td>
                    <input type="text" name="realname" id="realname" class="input-nm"></td>
            </tr>
            <tr>
                <td class="title">qq：</td>
                <td>
                    <input type="text" name="qq" id="qq" class="input-nm"></td>
            </tr>
            <tr>
                <td class="title">电话：</td>
                <td>
                    <input type="text" name="phone" id="phone" class="input-nm"></td>
            </tr>
            
        </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li>
            <button type="button" class="btn-close" data-icon="close">关闭</button>
        </li>
                    <li>
        <button data-icon="save" class="btn btn-default" type="submit">保存</button>
    </li>
    </ul>
</div>